home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 4772 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: reno.WPI.EDU!sopho
  2. From: sopho@wpi.edu (Sophocles Metsis)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: gcc, ldconfig, libs and more
  5. Date: 10 Feb 1996 17:34:25 GMT
  6. Organization: Worcester Polytechnic Institute
  7. Message-ID: <4fikv1$nbl@bigboote.WPI.EDU>
  8. NNTP-Posting-Host: reno.wpi.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I got the watchtower fs from mit and I think its ok
  12. even though I did not follow the exact installation 
  13. procedure since it seems to be for MSDOS machines.
  14. Basically I changed a few device names and filenames.
  15. Its now installed and seems to work well except for
  16. ldconfig and gcc. I must tell you that before I tryed
  17. using gcc I got 2.7.2 from mit and installed that also
  18.  
  19. the 'problem' with ldconfig follows :
  20.  
  21. #ldconfig
  22. ldconfig: warning: can't open /usr/local/lib (no such file or directory)
  23. ldconfig: warning: can't open /usr/m68k-linuxaout/lib (no such file or directory)
  24.  
  25. which is true I checked for both of the above and they are nowhere
  26. where can I get them ?
  27.  
  28. Now about gcc
  29.  
  30. I wrote a hello world program in c and then in c++
  31. I tried gcc hello.c 
  32. It seemed to compile fine and it produced an executable a.out
  33. great I though ... but when I typed a.out I get an error
  34. (unknown command a.out or something like that.)
  35.  
  36. In g++ I changed the above program to use cout but I got a 
  37. message saying that it couldn't find the <iostream.h> file.
  38.  
  39. I then changed the program to the original (printf) and 
  40. tried g++ again. This time it compiled fine but during linking
  41. I got 
  42. /usr/bin/m68k-linux/bin/ld : cannot open -lg++: No such file or directory
  43.  
  44. isn't -lg++ an option ? If so why is it looking for it ?
  45.  
  46.  
  47. I have a feeling that all these problems are related (somehow)
  48. could someone please shed some light?
  49.  
  50. Thanks,
  51.     Sophocles
  52.  
  53.  
  54.  
  55.